package com.ruoyi.stock.service;

import java.util.Date;
import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.stock.domain.StockMarket;

/**
 * 股票行情Service接口
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
public interface IStockMarketService 
{
    /**
     * 查询股票行情
     * 
     * @param id 股票行情主键
     * @return 股票行情
     */
    public StockMarket selectStockMarketById(Long id);

    /**
     * 查询股票行情列表
     * 
     * @param stockMarket 股票行情
     * @return 股票行情集合
     */
    public List<StockMarket> selectStockMarketList(StockMarket stockMarket);

    /**
     * 新增股票行情
     * 
     * @param stockMarket 股票行情
     * @return 结果
     */
    public int insertStockMarket(StockMarket stockMarket);

    /**
     * 修改股票行情
     * 
     * @param stockMarket 股票行情
     * @return 结果
     */
    public int updateStockMarket(StockMarket stockMarket);

    /**
     * 批量删除股票行情
     * 
     * @param ids 需要删除的股票行情主键集合
     * @return 结果
     */
    public int deleteStockMarketByIds(Long[] ids);

    /**
     * 删除股票行情信息
     * 
     * @param id 股票行情主键
     * @return 结果
     */
    public int deleteStockMarketById(Long id);

    /**
     * @description: 数据导入
     * @author: WYJ
     * @date: 2025/8/5
     * @param:
     */
    AjaxResult importData(List<StockMarket> list, boolean updateSupport, Date stDate);
}
